gadgety()

Description:

This will return the vertical position, of the specified gadget.

Syntax:

Required syntax:

 

yposition = gadgety( gadgethandle )

 

Optional syntax

 

yposition = gadgety( gadgethandle , [ global ] )

 

Parameters:

Required parameters

Description

gadgethandle The handle to the gadget you wish to check the horizontal position of
Optional parameters

Description

Default

global Boolean value to set if the returned value should be relative to the used graphics buffer or to the gadget´s window (relative to gadget´s window = 0/ relative to graphics buffer = 1)

0

Returns:

The specified gadget´s vertical position ( y )

Example: